<extend name="Base/index" />
<block name="body">
  <!-- 首页幻灯 -->
  {:hook('advertise', array('where' => 'tid = 1 AND status = 1', 'num' => 8, 'tpl' => 'theme1'))} 

  <!--主内容板块-->
  <div class="pc_index_back">
    <!--品牌板块-->
    <notempty name="brand">
      <div  class="container padd0"> 
        <!--品牌内容-->
        <div class="logo-brand imgopacity logos-16" data-shownum="16">
          <ul>
          <volist name="brand" id="vo">
            <li>
              <a href="{:U('Item/search',array('brand'=>$vo['id']))}" target="_blank">
               <img class="lazy" alt="{$vo['name']}" src="{:(get_cover($vo['pic'], 'path'))}">
              </a> 
           </li>
          </volist>
            <li class="brand-more" data-page="0"> <a href="{:U('Item/brand')}" target="_blank">MORE &gt;</a> </li>
          </ul>
        </div>
      </div>
    </notempty>


    <!--广告位左右结构-->
    <div class="container padd0 padd-t">
      {:hook('advertise', array('where' => 'tid = 2 AND status = 1', 'num' => 4, 'tpl' => 'home_adver'))}
	    {:hook('advertise', array('where' => 'tid = 7 AND status = 1', 'num' => 2, 'tpl' => 'home_advers'))}
    </div>
    <!--广告关键词 -->
    <div  class="container padd0">      
      <div class="in-title in-floor-title padd0">
        <dl class="">
          <dt><a class="" href="javascript:;"></a> </dt>
          <volist name="advKeyword" id="vo">
            <dd><a href="{:U('Item/search',array('keyword'=>$vo))}">{$vo}</a></dd>
          </volist>
        </dl>
      </div>
      {:hook('advertise', array('where' => 'tid = 3 AND status = 1', 'num' => 7, 'tpl' => 'home_active'))}
      <!--秒杀活动商品展示-->
      {:W('Item/seckillLists',array(array('num'=>4)))}
    </div>
  </div>
    <!--推荐的横排热卖、折扣商品-->
    {:W('Item/homeItemList', array(array('trait'=> 2, 'num'=> 24)))}
<style>
  @media (min-width:1600px) {
    .index .container, .category .container {
        width:1200px;
    }
}

  </style>
  </block>
  <block name="script"> {:hook('noticeMsg')} 
    <script type="text/javascript">
        seajs.use('index', function () { });
    </script> 
  </block>
